import { NAIJ, JIAN } from "../actionTypes"

const initState = {}

export default (state = initState, action) => {

    const { type, data } = action
    switch (type) {
        case JIAN:  
            return {data}
        case NAIJ:
            return {data}
        default:
            return state
    }
}